/*
 * Copyright (C) 2020 yixun All Rights Reserved.
 * 
 * PremisesAttetion.java
 */
package com.yixun.qfbao.model;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

import org.mapstruct.DecoratedWith;

/**
 * [文件名称]<br>
 * PremisesAttetion.java<br>
 * <br>
 * [文件描述]<br>
 * 员工楼盘关注关联表 pojo bean<br>
 * <br>
 * [修改记录]<br>
 * 2020-08-10 09:52:42 创建 陶俊代码生成器<br>
 * 
 * @author 陶俊代码生成器
 * @version 1.00
 */
public class PremisesPartner implements Serializable{
    /**
	 * 序列化UID
	 */
	private static final long serialVersionUID = 1L;

	/**
	 *id
	 */
	private Long id;
	/**
	 *员工ID，对应tm_partner主键
	 */
	private Long partnerId;
	/**
	 *楼盘ID，对应tm_premises主键
	 */
	private Long premisesId;
	/**
	 * 为了老版表结构以及接口结构专门保留
	 */
	@Deprecated
	private Integer attentionFlag;
	/**
	 *关注标识 1关联 2未关联
	 */
	private Integer relFlag;
	/**
	 * 关联类型
	 */
	private Integer relType;
	/**
	 *员工所属公司Id
	 */
	private Long partnerCompanyId;
	/**
	 *楼盘所属公司ID
	 */
	private Long premisesCompanyId;
	/**
	 *删除标识 0未删除1已删除
	 */
	private String delFlag;
	/**
	 *创建时间
	 */
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**
	 *修改时间
	 */
	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	


	/**	 
	 *设置 :id
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**	 
	 *获取 :id
	 */
	public Long getId() {
		return this.id;
	}

	/**	 
	 *设置 :员工ID，对应tm_partner主键
	 */
	public void setPartnerId(Long partnerId) {
		this.partnerId = partnerId;
	}

	/**	 
	 *获取 :员工ID，对应tm_partner主键
	 */
	public Long getPartnerId() {
		return this.partnerId;
	}

	/**	 
	 *设置 :楼盘ID，对应tm_premises主键
	 */
	public void setPremisesId(Long premisesId) {
		this.premisesId = premisesId;
	}

	/**	 
	 *获取 :楼盘ID，对应tm_premises主键
	 */
	public Long getPremisesId() {
		return this.premisesId;
	}

	/**	 
	 *设置 :员工所属公司Id
	 */
	public void setPartnerCompanyId(Long partnerCompanyId) {
		this.partnerCompanyId = partnerCompanyId;
	}

	/**	 
	 *获取 :员工所属公司Id
	 */
	public Long getPartnerCompanyId() {
		return this.partnerCompanyId;
	}

	/**	 
	 *设置 :楼盘所属公司ID
	 */
	public void setPremisesCompanyId(Long premisesCompanyId) {
		this.premisesCompanyId = premisesCompanyId;
	}

	/**	 
	 *获取 :楼盘所属公司ID
	 */
	public Long getPremisesCompanyId() {
		return this.premisesCompanyId;
	}

	/**	 
	 *设置 :删除标识 0未删除1已删除
	 */
	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	/**	 
	 *获取 :删除标识 0未删除1已删除
	 */
	public String getDelFlag() {
		return this.delFlag;
	}

	/**	 
	 *设置 :创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**	 
	 *获取 :创建时间
	 */
	public Date getCreateTime() {
		return this.createTime;
	}

	/**	 
	 *设置 :修改时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**	 
	 *获取 :修改时间
	 */
	public Date getUpdateTime() {
		return this.updateTime;
	}

	public Integer getRelFlag() {
		return relFlag;
	}

	public void setRelFlag(Integer relFlag) {
		this.relFlag = relFlag;
	}

	public Integer getRelType() {
		return relType;
	}

	public void setRelType(Integer relType) {
		this.relType = relType;
	}

	@Deprecated
	public Integer getAttentionFlag() {
		return attentionFlag;
	}

	@Deprecated
	public void setAttentionFlag(Integer attentionFlag) {
		this.attentionFlag = attentionFlag;
	}
	
}
